<template>
	<view class="icon-box">
		<view class="icon">
			<image :src="url" class="icon-item">
			</image>
		</view>
		<text class="icon-text">{{title}}</text>
		<text class="icon-text" style="position: absolute; left: 560rpx;">{{props.num}}</text>
	</view>
</template>

<script setup>
	import {
		reactive,
		ref,
		defineProps
	} from "vue";
	const props = defineProps({
		  title:String,
		  url:String,
		  background:String,
		  num: Number,
		})
</script>

<style>
	.icon {
		margin: auto 0rpx auto 25rpx;
		display: flex;
		align-items: center;
		width: 88rpx;
		height: 88rpx;
		box-shadow: 0rpx 20rpx 20rpx rgba(90, 90, 90, 0.1);
		border-radius: 62rpx;
	}

	.icon-item {
		margin-left: auto;
		margin-right: auto;
		width: 48rpx;
		height: 48rpx;
	}

	.icon-text {
		font-size: 40rpx;
		color: #1d2b3a;
		margin: auto 0rpx 0rpx 45rpx;
		line-height: 200rpx;
		font-weight: 600;
	}

	.icon-box {
		margin: 30rpx auto 30rpx 35rpx;
		display: flex;
		flex-direction: row;
		background-color: #FFFFFF;
		width: 90%;
		height: 200rpx;
		border: 2rpx solid #E6E6E6;
		box-shadow: 0rpx 16rpx 60rpx rgba(80, 85, 136, 0.06);
		border-radius: 36rpx;
	}
</style>